﻿////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// <copyright>Copyright 2008-2011 Andreas Huber Doenni</copyright>
// Distributed under the GNU General Public License version 2 (GPLv2).
// See accompanying file License.txt or copy at http://phuse.codeplex.com/license.
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

namespace Phuse.Net.Nntp
{
    /// <summary>Represents the response from an NNTP server received immediately after connecting to it.</summary>
    internal sealed class ConnectResponse : Response<ConnectResponse>
    {
        internal readonly bool PostingAllowed;

        internal ConnectResponse(bool postingAllowed)
        {
            this.PostingAllowed = postingAllowed;
        }
    }
}
